﻿using Domain.Models.Abstract;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Models
{
    public class ActionLog : BaseLog
    {
        [StringLength(128)]
        public string Logger { get; set; }

        [StringLength(128)]
        public string Environment { get; set; }

        [StringLength(512)]
        public string Callsite { get; set; }

        [StringLength(512)]
        public string RequestUri { get; set; }

        [StringLength(30)]
        public string ClientIp { get; set; }

        [StringLength(20)]
        public string Controller { get; set; }

        [StringLength(20)]
        public string Action { get; set; }

        [StringLength(10)]
        public string Method { get; set; }

        public string Exception { get; set; }

        [StringLength(512)]
        public string Result { get; set; }

    }
}
